package com.wmeimob.fastboot.jiubei.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;
import java.util.*;
import java.math.*;


/**
 * ShopGoodsClickRecord.java
 * http://www.wmeimob.com
 * Copyright © 2018 wmeimob All Rights Reserved,version 1.0
 *
 * @author：wjt Mon Sep 07 23:58:44 CST 2020 Created
 */

@Table(name = "`shop_goods_click_record`")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ShopGoodsClickRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * Id
     */
    @Id
    private String id;
    /**
     * 商品名称
     */
    @Column(name = "name")
    private String name;
    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Long userId;
    /**
     * orderId
     */
    @Column(name = "order_id")
    private String orderId;
    /**
     * GmtCreate
     */
    @Column(name = "gmt_create")
    @JsonFormat(locale = "zh", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtCreate;

}